package com.woniuxy.oldobject.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.woniuxy.oldobject.entity.Activity;
import com.woniuxy.oldobject.entity.ActivityRecord;

import java.util.List;

public interface ActivityDao extends BaseMapper<ActivityRecord> {
    List<Activity> selectAll();

    List<ActivityRecord> selectActivityManageByType(String activityType);

    int deleteOneActivityRecordById(int id);

    List<ActivityRecord> selectActivityRecord(String elderName, String activityType, String activityName);

    List<Activity> selectActivity(String activityType, String activityName);


//    int insertOneActivityRecord(ActivityRecord activityRecord);
}
